import { request } from '@/utils';

/** 登录获取token */
export const getUserTokenAPI = (data) => request.post('/authorizations', data);

/** 获取用户资料 */
export const getUserInfoAPI = () => request.get('/user/profile');
